home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / plugins / tools / 3dpaint / p3iacopier.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  3.2 KB  |  111 lines

  1.  
  2. // JavaScript wrapper for p3iacopier.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_IACOPIER_H = 1;
  7. include("plugins/tools/3dpaint/p3iaeyed.js")
  8.  
  9.  
  10. var R3CLID_IACOPIER = 1703;
  11.  
  12.  
  13.  
  14.  
  15. R3IACOPIERA_UseSurfaceColor = 1703500;
  16. function SetR3IACOPIERA_UseSurfaceColor(value) {
  17.   R3Set(this.r3obj, R3IACOPIERA_UseSurfaceColor, value, R3TID_BOOLEAN, 0); 
  18. }
  19.  
  20. function GetR3IACOPIERA_UseSurfaceColor() {
  21.   return R3Get(this.r3obj, R3IACOPIERA_UseSurfaceColor, R3TID_BOOLEAN, 0); 
  22. }
  23.  
  24. R3IACOPIERA_Instance = 1703501;
  25. function SetR3IACOPIERA_Instance(value) {
  26.   R3Set(this.r3obj, R3IACOPIERA_Instance, value, R3TID_BOOLEAN, 0); 
  27. }
  28.  
  29. function GetR3IACOPIERA_Instance() {
  30.   return R3Get(this.r3obj, R3IACOPIERA_Instance, R3TID_BOOLEAN, 0); 
  31. }
  32.  
  33. R3IACOPIERA_BrushPointCnt = 1703502;
  34. function SetR3IACOPIERA_BrushPointCnt(value) {
  35.   R3Set(this.r3obj, R3IACOPIERA_BrushPointCnt, value, R3TID_INTEGER, 0); 
  36. }
  37.  
  38. function GetR3IACOPIERA_BrushPointCnt() {
  39.   return R3Get(this.r3obj, R3IACOPIERA_BrushPointCnt, R3TID_INTEGER, 0); 
  40. }
  41.  
  42. R3IACOPIERA_BrushSize = 1703503;
  43. function SetR3IACOPIERA_BrushSize(value) {
  44.   R3Set(this.r3obj, R3IACOPIERA_BrushSize, value, R3TID_INTEGER, 0); 
  45. }
  46.  
  47. function GetR3IACOPIERA_BrushSize() {
  48.   return R3Get(this.r3obj, R3IACOPIERA_BrushSize, R3TID_INTEGER, 0); 
  49. }
  50.  
  51. R3IACOPIERA_Pen = 1703504;
  52. function SetR3IACOPIERA_Pen(value) {
  53.   R3Set(this.r3obj, R3IACOPIERA_Pen, value, R3TID_INTEGER, 0); 
  54. }
  55.  
  56. function GetR3IACOPIERA_Pen() {
  57.   return R3Get(this.r3obj, R3IACOPIERA_Pen, R3TID_INTEGER, 0); 
  58. }
  59.  
  60. R3IACOPIERA_Projection = 1703505;
  61. function SetR3IACOPIERA_Projection(value) {
  62.   R3Set(this.r3obj, R3IACOPIERA_Projection, value, R3TID_INTEGER, 0); 
  63. }
  64.  
  65. function GetR3IACOPIERA_Projection() {
  66.   return R3Get(this.r3obj, R3IACOPIERA_Projection, R3TID_INTEGER, 0); 
  67. }
  68.  
  69. R3IACOPIERA_Rotation = 1703506;
  70. function SetR3IACOPIERA_Rotation(value) {
  71.   R3Set(this.r3obj, R3IACOPIERA_Rotation, value, R3TID_INTEGER, 0); 
  72. }
  73.  
  74. function GetR3IACOPIERA_Rotation() {
  75.   return R3Get(this.r3obj, R3IACOPIERA_Rotation, R3TID_INTEGER, 0); 
  76. }
  77.  
  78. var R3IACPEN_PENCIL = 0;
  79. var R3IACPEN_AIRBRUSH = 1;
  80. var R3IACPROJ_3D = 0;
  81. var R3IACPROJ_2D = 1;
  82. var R3IACPROJ_SELECTED = 2;
  83. var R3IACROT_NONE = 0;
  84. var R3IACROT_NORMAL = 1;
  85. var R3IACROT_REFLECT = 2;
  86.  
  87.  
  88. function r3Iacopier () { 
  89.    this.base = r3God;
  90.    if(arguments.length) {
  91.       this.base(R3CLID_IACOPIER, arguments);
  92.    }
  93.    // Attributes
  94.    this.GetUseSurfaceColor=GetR3IACOPIERA_UseSurfaceColor;
  95.    this.SetUseSurfaceColor=SetR3IACOPIERA_UseSurfaceColor;
  96.    this.GetInstance=GetR3IACOPIERA_Instance;
  97.    this.SetInstance=SetR3IACOPIERA_Instance;
  98.    this.GetBrushPointCnt=GetR3IACOPIERA_BrushPointCnt;
  99.    this.SetBrushPointCnt=SetR3IACOPIERA_BrushPointCnt;
  100.    this.GetBrushSize=GetR3IACOPIERA_BrushSize;
  101.    this.SetBrushSize=SetR3IACOPIERA_BrushSize;
  102.    this.GetPen=GetR3IACOPIERA_Pen;
  103.    this.SetPen=SetR3IACOPIERA_Pen;
  104.    this.GetProjection=GetR3IACOPIERA_Projection;
  105.    this.SetProjection=SetR3IACOPIERA_Projection;
  106.    this.GetRotation=GetR3IACOPIERA_Rotation;
  107.    this.SetRotation=SetR3IACOPIERA_Rotation;
  108. }
  109.  
  110. r3Iacopier.prototype=new r3Iaeyedropper;
  111. // p3iacopier.h_H